package event.notifyDentacionesHoja;

import java.awt.Component;

import gui.jtab.leaf.JTabObjectSepal;

public class NotifyDentations extends Component {

	private static final long serialVersionUID = 1L;
	String ID;
	NotifyDentationsListenerInterface miReceptor;

	public void addEventNotifyDentationsListener(JTabObjectSepal receptor) {
		if (miReceptor == null)
			miReceptor = receptor;
	}

	public void launchEvent() {
		miReceptor.catchNotifyDentationsListener(new EventNotifyDentations(this, ID));
	}
}
